/**
 * $Revision: 1.0 $
 * $Author: Geln Yang $
 * $Date: Jun 25, 2009 3:20:44 AM $
 *
 * Author: Eric Yang
 * Date  : Jun 25, 2009 3:20:44 AM
 *
 */
package c4j.string;

/**
 * @author Eric Yang
 * @version 1.0
 */
public class StringUtils {

	public static boolean isBlankOrNull(String s) {
		return s == null || s.trim().length() == 0;
	}

	public static boolean isNotBlankOrNull(String s) {
		return !isBlankOrNull(s);
	}
}
